package game.pathfinding;

public class PathElement
{
	public int X = 0, Y = 0;
	public boolean fits = true;
	
	public boolean equals(PathElement e)
	{
		return e.X == X && e.Y == Y;
	}
	
	public boolean equals(int x, int y)
	{
		return x == X && y == Y;
	}
	
	public PathElement(int x, int y, boolean f)
	{
		this.X = x;
		this.Y = y;
		this.fits = f;
	}
	
	public PathElement() {}
}